import { createLogger, createStore } from 'vuex'
import user from './modules/user'
import app from './modules/app'

const debug = import.meta.env.DEV

const store = createStore({
    modules: {
        user,
        app
    },
    strict: debug,
    plugins: debug ? [createLogger()] : []
})




export default store;
